package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖品对象 sms_prize
 *
 * @author DRIES
 * @date 2022-03-09
 */
public class SmsPrize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 奖品名称 */
    @Excel(name = "奖品名称")
    private String name;

    /** 奖品标题 */
    @Excel(name = "奖品标题")
    private String title;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 奖品详情 */
    @Excel(name = "奖品详情")
    private String content;

    /** 奖品数量 */
    @Excel(name = "奖品数量")
    private Long prizeCount;

    /** 兑换积分 */
    @Excel(name = "兑换积分")
    private String integral;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setCover(String cover)
    {
        this.cover = cover;
    }

    public String getCover()
    {
        return cover;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setPrizeCount(Long prizeCount)
    {
        this.prizeCount = prizeCount;
    }

    public Long getPrizeCount()
    {
        return prizeCount;
    }
    public void setIntegral(String integral)
    {
        this.integral = integral;
    }

    public String getIntegral()
    {
        return integral;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("title", getTitle())
            .append("cover", getCover())
            .append("content", getContent())
            .append("prizeCount", getPrizeCount())
            .append("integral", getIntegral())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
